/* jshint esversion: 6 */

import Vue from 'vue';
import Router from 'vue-router';
import HomePage from '@/components/homePage';
import Foster from '@/components/Foster';
import Live from '@/components/Live';
import Store from '@/components/Store';
import HamDivision from '@/components/HamDivision';
import MyInfo from '@/components/MyInfo';
import GoTraining from '@/components/GoTraining';
import HamPeople from '@/components/HamPeople';
import Authentication from '@/components/Authentication';
import PigDetails from '@/components/PigDetails';
import Intopage from '@/components/Intopage';
import Autonym from '@/components/Autonym';
import Login from '@/components/Login';
import Registration from '@/components/Registration';
import Forget from '@/components/Forget';
import ContactUs from '@/components/ContactUs';
import FAQ from '@/components/FAQ';
import AboutUs from '@/components/AboutUs';
import Service from '@/components/Service';
import QRcode from '@/components/QRcode';
import Order from '@/components/Order';
import Setup from '@/components/Setup';
import Address from '@/components/Address';
import AddressAdd from '@/components/AddressAdd';
import CashAccount from '@/components/CashAccount';
import AccountAdd from '@/components/AccountAdd';
import WithDrawal from '@/components/WithDrawal';
import Purchase from '@/components/Purchase';
import Settlement from '@/components/Settlement';


Vue.use(Router);

export default new Router({
    routes: [{
            path: '/',
            name: 'Intopage',
            component: Intopage
        },
        {
            path: '/HomePage',
            name: 'HomePage',
            component: HomePage
        },
        {
            path: '/Foster',
            name: 'Foster',
            component: Foster
        },
        {
            path: '/Live',
            name: 'Live',
            component: Live
        },
        {
            path: '/Store',
            name: 'Store',
            component: Store
        },
        {
            path: '/HamDivision',
            name: 'HamDivision',
            component: HamDivision
        },
        {
            path: '/MyInfo',
            name: 'MyInfo',
            component: MyInfo
        },
        {
            path: '/GoTraining',
            name: 'GoTraining',
            component: GoTraining
        },
        {
            path: '/HamPeople',
            name: 'HamPeople',
            component: HamPeople
        },
        {
            path: '/Authentication',
            name: 'Authentication',
            component: Authentication
        },
        {
            path: '/PigDetails',
            name: 'PigDetails',
            component: PigDetails
        },

        {
            path: '/Autonym',
            name: 'Autonym',
            component: Autonym
        },
        {
            path: '/Login',
            name: 'Login',
            component: Login
        },
        {
            path: '/Registration',
            name: 'Registration',
            component: Registration
        },
        {
            path: '/Forget',
            name: 'Forget',
            component: Forget
        },
        {
            path: '/ContactUs',
            name: 'ContactUs',
            component: ContactUs
        },
        {
            path: '/FAQ',
            name: 'FAQ',
            component: FAQ
        },
        {
            path: '/AboutUs',
            name: 'AboutUs',
            component: AboutUs
        },
        {
            path: '/Service',
            name: 'Service',
            component: Service
        },
        {
            path: '/QRcode',
            name: 'QRcode',
            component: QRcode
        },
        {
            path: '/Order',
            name: 'Order',
            component: Order
        },
        {
            path: '/Setup',
            name: 'Setup',
            component: Setup
        },
        {
            path: '/Address',
            name: 'Address',
            component: Address
        },
        {
            path: '/AddressAdd',
            name: 'AddressAdd',
            component: AddressAdd
        },
        {
            path: '/CashAccount',
            name: 'CashAccount',
            component: CashAccount
        },
        {
            path: '/AccountAdd',
            name: 'AccountAdd',
            component: AccountAdd
        },
        {
            path: '/WithDrawal',
            name: 'WithDrawal',
            component: WithDrawal
        },
        {
            path: '/Purchase',
            name: 'Purchase',
            component: Purchase
        },
        {
            path: '/Settlement',
            name: 'Settlement',
            component: Settlement
        },
    ]
});